using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsQuoteEntity : EntityBase
	{
		public BsQuoteTable TableSchema
		{
			get
			{
				return (BsQuoteTable)_tableSchema;
			}
		}

		public BsQuoteEntity()
		{
			_tableSchema = BsQuoteTable.Current;
		}

		#region 属性列表
		
		public String QuoteID
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_QUOTEID));} 

			
			set{ SetData(BsQuoteTable.C_QUOTEID, value); }
		}

		
		public DateTime? BillDate
		{

			
			get{ return GetData<DateTime>(BsQuoteTable.C_BILLDATE); }
			
			
			set{ SetData(BsQuoteTable.C_BILLDATE, value); }
		}

		
		public String CustomerID
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_CUSTOMERID));} 

			
			set{ SetData(BsQuoteTable.C_CUSTOMERID, value); }
		}

		
		public String ContactName
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_CONTACTNAME));} 

			
			set{ SetData(BsQuoteTable.C_CONTACTNAME, value); }
		}

		
		public String Mobile
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_MOBILE));} 

			
			set{ SetData(BsQuoteTable.C_MOBILE, value); }
		}

		
		public String SendCustomerID
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_SENDCUSTOMERID));} 

			
			set{ SetData(BsQuoteTable.C_SENDCUSTOMERID, value); }
		}

		
		public String SendContactName
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_SENDCONTACTNAME));} 

			
			set{ SetData(BsQuoteTable.C_SENDCONTACTNAME, value); }
		}

		
		public String SendMobile
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_SENDMOBILE));} 

			
			set{ SetData(BsQuoteTable.C_SENDMOBILE, value); }
		}

		
		public String Currency
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_CURRENCY));} 

			
			set{ SetData(BsQuoteTable.C_CURRENCY, value); }
		}

		
		public String IsTax
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_ISTAX));} 

			
			set{ SetData(BsQuoteTable.C_ISTAX, value); }
		}

		
		public Decimal? TaxRate
		{

			
			get{ return GetData<Decimal>(BsQuoteTable.C_TAXRATE); }
			
			
			set{ SetData(BsQuoteTable.C_TAXRATE, value); }
		}

		
		public String Status
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_STATUS));} 

			
			set{ SetData(BsQuoteTable.C_STATUS, value); }
		}

		
		public DateTime? CreateDate
		{

			
			get{ return GetData<DateTime>(BsQuoteTable.C_CREATEDATE); }
			
			
			set{ SetData(BsQuoteTable.C_CREATEDATE, value); }
		}

		
		public String ModifyUserName
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_MODIFYUSERNAME));} 

			
			set{ SetData(BsQuoteTable.C_MODIFYUSERNAME, value); }
		}

		
		public String CreateUserID
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_CREATEUSERID));} 

			
			set{ SetData(BsQuoteTable.C_CREATEUSERID, value); }
		}

		
		public String CreateUserName
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_CREATEUSERNAME));} 

			
			set{ SetData(BsQuoteTable.C_CREATEUSERNAME, value); }
		}

		
		public DateTime? ModifyDate
		{

			
			get{ return GetData<DateTime>(BsQuoteTable.C_MODIFYDATE); }
			
			
			set{ SetData(BsQuoteTable.C_MODIFYDATE, value); }
		}

		
		public String ModifyUserID
		{

							
			get{ return Convert.ToString(GetData(BsQuoteTable.C_MODIFYUSERID));} 

			
			set{ SetData(BsQuoteTable.C_MODIFYUSERID, value); }
		}

		
		#endregion
	}
}

